/*
 * @(#)CollectionFrequencyParser.java	1.0 08/01/07
 *
 * Copyright 2007 Fabio Gasparetti. All rights reserved.
 */

package org.tabularium.text.nlp;

import java.util.List;
import java.io.IOException;

/**
 * 
 * 
 * @author Fabio Gasparetti
 * @version 1.0, 09/01/07
 */ 
public interface CollectionFrequencyParser {
	/**
	 * Returns a list of CollectionFrequency.TermFreq objects.
	 * 
	 * The first element stores the number of documents in the collection.
	 */
	public List read(String filename) throws IOException;
}
